Book Contents

momentaryButton object attributes and elements

The momentaryButton object has the following attributes and elements:

  • momentaryButton object attributes:
    • name
    • height
    • width
    • left
    • top
    • visible
    • wallpaper
    • isReferenceObject
    • audio
    • backStyle
    • borderStyle
    • borderUsesBackColor
    • borderWidth
    • buttonAction
    • description
    • holdTime
    • highlightColor
    • horizontalMargin
    • verticalMargin
    • shape
    • touch
    • currentStateId
    • captionOnBorder
    • keyAssignment
  • elements:
    • States

      The states element corresponds to the States tab of the momentary push button object.

    • State element

      The state element must be located within a states element.

    • State element attributes:
      • stateId
      • borderColor
    • caption element

      This element corresponds to the Caption settings in the States tab of the momentary push button object. The caption element must be located within a state element.

    • caption element attributes:
      • fontFamily
      • fontSize
      • bold
      • italic
      • underline
      • strikethrough
      • caption
      • color
      • backColor
      • backStyle
      • alignment
      • wordWrap
      • blink
    • imageSettings element

      The imageSettings element corresponds to the image settings in the States tab of the momentary push button object. The imageSettings element must be located within a state element.

    • imageSettings element attributes:
      • imageName
      • alignment
      • backStyle
      • color
      • backColor
      • scaled
      • blink
  • animations element:

    The animations element must be located within an object element.

    • animateVisibility element

      This element corresponds to visibility animation defined for the momentary push button object. The animateVisibility element must be located within an animations element.

    • animateVisibility element attributes:
      • expression
      • expressionTrueState
  • connections

    This element corresponds to the Connections tab of the momentary push button object. The connections element must be located within an object element.

    • connection element

      This element corresponds to the settings in the Connections tab of the momentary push button object. The connection element must be located within a connections element.

    • connection element attributes:
      • name
      • name
      • expression

See also

Push button objects: momentaryButton object

momentaryButton object example

XML attributes

XML elements